home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / boekhoud / finan / BADGER finance v1.0 beta 2.exe / xampplite / apache / conf / httpd.conf next >
Text File  |  2006-07-10  |  20KB  |  520 lines

  1. #
  2. # This is the main Apache HTTP server configuration file.  It contains the
  3. # configuration directives that give the server its instructions.
  4. # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
  5. # In particular, see 
  6. # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
  7. # for a discussion of each configuration directive.
  8. #
  9. # Do NOT simply read the instructions in here without understanding
  10. # what they do.  They're here only as hints or reminders.  If you are unsure
  11. # consult the online docs. You have been warned.  
  12. #
  13. # Configuration and logfile names: If the filenames you specify for many
  14. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  15. # server will use that explicit path.  If the filenames do *not* begin
  16. # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
  17. # with ServerRoot set to "/xampplite/apache" will be interpreted by the
  18. # server as "/xampplite/apache/logs/foo.log".
  19. #
  20. # NOTE: Where filenames are specified, you must use forward slashes
  21. # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
  22. # If a drive letter is omitted, the drive on which Apache.exe is located
  23. # will be used by default.  It is recommended that you always supply
  24. # an explicit drive letter in absolute paths, however, to avoid
  25. # confusion.
  26. #
  27.  
  28. # ThreadsPerChild: constant number of worker threads in the server process
  29. # MaxRequestsPerChild: maximum  number of requests a server process serves
  30. ThreadsPerChild 250
  31. MaxRequestsPerChild  0
  32.  
  33. #
  34. # ServerRoot: The top of the directory tree under which the server's
  35. # configuration, error, and log files are kept.
  36. #
  37. # Do not add a slash at the end of the directory path.  If you point
  38. # ServerRoot at a non-local disk, be sure to point the LockFile directive
  39. # at a local disk.  If you wish to share the same ServerRoot for multiple
  40. # httpd daemons, you will need to change at least LockFile and PidFile.
  41. #
  42. ServerRoot "/xampplite/apache"
  43.  
  44. #
  45. # Listen: Allows you to bind Apache to specific IP addresses and/or
  46. # ports, instead of the default. See also the <VirtualHost>
  47. # directive.
  48. #
  49. # Change this to Listen on specific IP addresses as shown below to 
  50. # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
  51. #
  52. #Listen 12.34.56.78:80
  53. Listen 127.0.0.1:1112
  54.  
  55. #
  56. # Dynamic Shared Object (DSO) Support
  57. #
  58. # To be able to use the functionality of a module which was built as a DSO you
  59. # have to place corresponding `LoadModule' lines at this location so the
  60. # directives contained in it are actually available _before_ they are used.
  61. # Statically compiled modules (those listed by `httpd -l') do not need
  62. # to be loaded here.
  63. #
  64. # Example:
  65. # LoadModule foo_module modules/mod_foo.so
  66. #
  67. LoadModule actions_module modules/mod_actions.so
  68. LoadModule alias_module modules/mod_alias.so
  69. LoadModule asis_module modules/mod_asis.so
  70. LoadModule auth_basic_module modules/mod_auth_basic.so
  71. #LoadModule auth_digest_module modules/mod_auth_digest.so
  72. #LoadModule authn_anon_module modules/mod_authn_anon.so
  73. #LoadModule authn_dbm_module modules/mod_authn_dbm.so
  74. LoadModule authn_default_module modules/mod_authn_default.so
  75. LoadModule authn_file_module modules/mod_authn_file.so
  76. #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
  77. #LoadModule authz_dbm_module modules/mod_authz_dbm.so
  78. LoadModule authz_default_module modules/mod_authz_default.so
  79. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  80. LoadModule authz_host_module modules/mod_authz_host.so
  81. LoadModule authz_user_module modules/mod_authz_user.so
  82. #LoadModule autoindex_module modules/mod_autoindex.so # don't load because of mod_autoindex_color.so
  83. #LoadModule bucketeer_module modules/mod_bucketeer.so
  84. #LoadModule cache_module modules/mod_cache.so
  85. #LoadModule disk_cache_module modules/mod_disk_cache.so
  86. #LoadModule file_cache_module modules/mod_file_cache.so
  87. #LoadModule mem_cache_module modules/mod_mem_cache.so
  88. #LoadModule cern_meta_module modules/mod_cern_meta.so
  89. #LoadModule charset_lite_module modules/mod_charset_lite.so
  90. LoadModule cgi_module modules/mod_cgi.so
  91. LoadModule dav_module modules/mod_dav.so
  92. LoadModule dav_fs_module modules/mod_dav_fs.so
  93. #LoadModule deflate_module modules/mod_deflate.so
  94. LoadModule dir_module modules/mod_dir.so
  95. #LoadModule dumpio_module modules/mod_dumpio.so
  96. LoadModule env_module modules/mod_env.so
  97. #LoadModule expires_module modules/mod_expires.so
  98. #LoadModule ext_filter_module modules/mod_ext_filter.so
  99. #LoadModule headers_module modules/mod_headers.so
  100. #LoadModule ident_module modules/mod_ident.so
  101. #LoadModule imagemap_module modules/mod_imagemap.so
  102. LoadModule include_module modules/mod_include.so
  103. LoadModule info_module modules/mod_info.so
  104. LoadModule isapi_module modules/mod_isapi.so
  105. LoadModule ldap_module modules/mod_ldap.so
  106. #LoadModule logio_module modules/mod_logio.so
  107. LoadModule log_config_module modules/mod_log_config.so
  108. #LoadModule log_forensic_module modules/mod_log_forensic.so
  109. LoadModule mime_module modules/mod_mime.so
  110. #LoadModule mime_magic_module modules/mod_mime_magic.so
  111. LoadModule negotiation_module modules/mod_negotiation.so
  112. #LoadModule proxy_module modules/mod_proxy.so
  113. #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
  114. #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  115. #LoadModule proxy_connect_module modules/mod_proxy_connect.so
  116. #LoadModule proxy_http_module modules/mod_proxy_http.so
  117. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  118. #LoadModule rewrite_module modules/mod_rewrite.so
  119. LoadModule setenvif_module modules/mod_setenvif.so
  120. #LoadModule speling_module modules/mod_speling.so
  121. LoadModule status_module modules/mod_status.so
  122. #LoadModule unique_id_module modules/mod_unique_id.so
  123. #LoadModule userdir_module modules/mod_userdir.so
  124. #LoadModule usertrack_module modules/mod_usertrack.so
  125. #LoadModule version_module modules/mod_version.so
  126. #LoadModule vhost_alias_module modules/mod_vhost_alias.so
  127. LoadModule ssl_module modules/mod_ssl.so
  128.  
  129. LoadModule autoindex_color_module modules/mod_autoindex_color.so
  130. #LoadModule mysql_auth_module modules/mod_auth_mysql.so
  131. #LoadModule auth_remote_module modules/mod_auth_remote.so
  132. #LoadModule sspi_auth_module modules/mod_auth_sspi.so
  133. #LoadModule log_sql_module modules/mod_log_sql.so
  134. #LoadModule log_sql_mysql_module modules/mod_log_sql_mysql.so
  135. #<IfModule ssl_module>
  136. #    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so
  137. #</IfModule>
  138. #LoadModule proxy_html_module modules/mod_proxy_html.so
  139. #LoadModule xmlns_module modules/mod_xmlns.so
  140. #LoadModule proxy_xml_module modules/mod_proxy_xml.so
  141. #LoadModule bw_module modules/mod_bw.so
  142.  
  143. # 'Main' server configuration
  144. #
  145. # The directives in this section set up the values used by the 'main'
  146. # server, which responds to any requests that aren't handled by a
  147. # <VirtualHost> definition.  These values also provide defaults for
  148. # any <VirtualHost> containers you may define later in the file.
  149. #
  150. # All of these directives may appear inside <VirtualHost> containers,
  151. # in which case these default settings will be overridden for the
  152. # virtual host being defined.
  153. #
  154.  
  155. #
  156. # ServerAdmin: Your address, where problems with the server should be
  157. # e-mailed.  This address appears on some server-generated pages, such
  158. # as error documents.  e.g. admin@your-domain.com
  159. #
  160. ServerAdmin admin@localhost
  161.  
  162. #
  163. # ServerName gives the name and port that the server uses to identify itself.
  164. # This can often be determined automatically, but we recommend you specify
  165. # it explicitly to prevent problems during startup.
  166. #
  167. # If your host doesn't have a registered DNS name, enter its IP address here.
  168. #
  169. ServerName localhost:80
  170.  
  171. #
  172. # DocumentRoot: The directory out of which you will serve your
  173. # documents. By default, all requests are taken from this directory, but
  174. # symbolic links and aliases may be used to point to other locations.
  175. #
  176. DocumentRoot "/xampplite/htdocs"
  177.  
  178. #
  179. # Each directory to which Apache has access can be configured with respect
  180. # to which services and features are allowed and/or disabled in that
  181. # directory (and its subdirectories). 
  182. #
  183. # First, we configure the "default" to be a very restrictive set of 
  184. # features.  
  185. #
  186. <Directory />
  187.     Options FollowSymLinks
  188.     AllowOverride None
  189.     Order deny,allow
  190.     Deny from all
  191. </Directory>
  192.  
  193. #
  194. # Note that from this point forward you must specifically allow
  195. # particular features to be enabled - so if something's not working as
  196. # you might expect, make sure that you have specifically enabled it
  197. # below.
  198. #
  199.  
  200. #
  201. # This should be changed to whatever you set DocumentRoot to.
  202. #
  203. <Directory "/xampplite/htdocs">
  204.     #
  205.     # Possible values for the Options directive are "None", "All",
  206.     # or any combination of:
  207.     #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  208.     #
  209.     # Note that "MultiViews" must be named *explicitly* --- "Options All"
  210.     # doesn't give it to you.
  211.     #
  212.     # The Options directive is both complicated and important.  Please see
  213.     # http://httpd.apache.org/docs/2.2/mod/core.html#options
  214.     # for more information.
  215.     #
  216.     Options Indexes FollowSymLinks Includes ExecCGI
  217.     
  218.     #
  219.     # AllowOverride controls what directives may be placed in .htaccess files.
  220.     # It can be "All", "None", or any combination of the keywords:
  221.     #   Options FileInfo AuthConfig Limit
  222.     #
  223.     AllowOverride All
  224.  
  225.     #
  226.     # Controls who can get stuff from this server.
  227.     #
  228.     Order allow,deny
  229.     Allow from all
  230.  
  231. </Directory>
  232.  
  233. #
  234. # DirectoryIndex: sets the file that Apache will serve if a directory
  235. # is requested.
  236. #
  237. <IfModule dir_module>
  238.     DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
  239. </IfModule>
  240.  
  241. #
  242. # The following lines prevent .htaccess and .htpasswd files from being 
  243. # viewed by Web clients. 
  244. #
  245. <FilesMatch "^\.ht">
  246.     Order allow,deny
  247.     Deny from all
  248. </FilesMatch>
  249.  
  250. #
  251. # ErrorLog: The location of the error log file.
  252. # If you do not specify an ErrorLog directive within a <VirtualHost>
  253. # container, error messages relating to that virtual host will be
  254. # logged here.  If you *do* define an error logfile for a <VirtualHost>
  255. # container, that host's errors will be logged there and not here.
  256. #
  257. ErrorLog logs/error.log
  258.  
  259. #
  260. # LogLevel: Control the number of messages logged to the error_log.
  261. # Possible values include: debug, info, notice, warn, error, crit,
  262. # alert, emerg.
  263. #
  264. LogLevel warn
  265.  
  266. <IfModule log_config_module>
  267.     #
  268.     # The following directives define some format nicknames for use with
  269.     # a CustomLog directive (see below).
  270.     #
  271.     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  272.     LogFormat "%h %l %u %t \"%r\" %>s %b" common
  273.  
  274.     <IfModule logio_module>
  275.       # You need to enable mod_logio.c to use %I and %O
  276.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  277.     </IfModule>
  278.  
  279.     #
  280.     # The location and format of the access logfile (Common Logfile Format).
  281.     # If you do not define any access logfiles within a <VirtualHost>
  282.     # container, they will be logged here.  Contrariwise, if you *do*
  283.     # define per-<VirtualHost> access logfiles, transactions will be
  284.     # logged therein and *not* in this file.
  285.     #
  286.     CustomLog logs/access.log common
  287.  
  288.     #
  289.     # If you prefer a logfile with access, agent, and referer information
  290.     # (Combined Logfile Format) you can use the following directive.
  291.     #
  292.     #CustomLog logs/access.log combined
  293. </IfModule>
  294.  
  295. <IfModule alias_module>
  296.     #
  297.     # Redirect: Allows you to tell clients about documents that used to 
  298.     # exist in your server's namespace, but do not anymore. The client 
  299.     # will make a new request for the document at its new location.
  300.     # Example:
  301.     # Redirect permanent /foo http://www.example.com/bar
  302.  
  303.     #
  304.     # Alias: Maps web paths into filesystem paths and is used to
  305.     # access content that does not live under the DocumentRoot.
  306.     # Example:
  307.     # Alias /webpath /full/filesystem/path
  308.     #
  309.     # If you include a trailing / on /webpath then the server will
  310.     # require it to be present in the URL.  You will also likely
  311.     # need to provide a <Directory> section to allow access to
  312.     # the filesystem path.
  313.  
  314.     #
  315.     # ScriptAlias: This controls which directories contain server scripts. 
  316.     # ScriptAliases are essentially the same as Aliases, except that
  317.     # documents in the target directory are treated as applications and
  318.     # run by the server when requested rather than as documents sent to the
  319.     # client.  The same rules about trailing "/" apply to ScriptAlias
  320.     # directives as to Alias.
  321.     #
  322.     ScriptAlias /cgi-bin/ "/xampplite/cgi-bin/"
  323.  
  324. </IfModule>
  325.  
  326. #
  327. # "/xampplite/cgi-bin" should be changed to whatever your ScriptAliased
  328. # CGI directory exists, if you have that configured.
  329. #
  330. <Directory "/xampplite/cgi-bin">
  331.     AllowOverride None
  332.     Options None
  333.     Order allow,deny
  334.     Allow from all
  335. </Directory>
  336.  
  337. # Apache parses all CGI scripts for the shebang line by default.
  338. # This comment line, the first line of the script, consists of the symbols
  339. # pound (#) and exclamation (!) followed by the path of the program that 
  340. # can execute this specific script.  For a perl script, with perl.exe in
  341. # the C:\Program Files\Perl directory, the shebang line should be:
  342.  
  343.    #!c:/program files/perl/perl
  344.  
  345. # Note you _must_not_ indent the actual shebang line, and it must be the
  346. # first line of the file.  Of course, CGI processing must be enabled by 
  347. # the appropriate ScriptAlias or Options ExecCGI directives for the files 
  348. # or directory in question.
  349. #
  350. # However, Apache on Windows allows either the Unix behavior above, or can
  351. # use the Registry to match files by extention.  The command to execute 
  352. # a file of this type is retrieved from the registry by the same method as 
  353. # the Windows Explorer would use to handle double-clicking on a file.
  354. # These script actions can be configured from the Windows Explorer View menu, 
  355. # 'Folder Options', and reviewing the 'File Types' tab.  Clicking the Edit
  356. # button allows you to modify the Actions, of which Apache 1.3 attempts to
  357. # perform the 'Open' Action, and failing that it will try the shebang line.
  358. # This behavior is subject to change in Apache release 2.0.
  359. #
  360. # Each mechanism has it's own specific security weaknesses, from the means
  361. # to run a program you didn't intend the website owner to invoke, and the
  362. # best method is a matter of great debate.
  363. #
  364. # To enable the this Windows specific behavior (and therefore -disable- the
  365. # equivilant Unix behavior), uncomment the following directive:
  366. #
  367. #ScriptInterpreterSource registry
  368. #
  369. # The directive above can be placed in individual <Directory> blocks or the
  370. # .htaccess file, with either the 'registry' (Windows behavior) or 'script' 
  371. # (Unix behavior) option, and will override this server default option.
  372. #
  373.  
  374. #
  375. # DefaultType: the default MIME type the server will use for a document
  376. # if it cannot otherwise determine one, such as from filename extensions.
  377. # If your server contains mostly text or HTML documents, "text/plain" is
  378. # a good value.  If most of your content is binary, such as applications
  379. # or images, you may want to use "application/octet-stream" instead to
  380. # keep browsers from trying to display binary files as though they are
  381. # text.
  382. #
  383. DefaultType text/plain
  384.  
  385. <IfModule mime_module>
  386.     #
  387.     # TypesConfig points to the file containing the list of mappings from
  388.     # filename extension to MIME-type.
  389.     #
  390.     TypesConfig conf/mime.types
  391.  
  392.     #
  393.     # AddType allows you to add to or override the MIME configuration
  394.     # file specified in TypesConfig for specific file types.
  395.     #
  396.     #AddType application/x-gzip .tgz
  397.     #
  398.     # AddEncoding allows you to have certain browsers uncompress
  399.     # information on the fly. Note: Not all browsers support this.
  400.     #
  401.     #AddEncoding x-compress .Z
  402.     #AddEncoding x-gzip .gz .tgz
  403.     #
  404.     # If the AddEncoding directives above are commented-out, then you
  405.     # probably should define those extensions to indicate media types:
  406.     #
  407.     AddType application/x-compress .Z
  408.     AddType application/x-gzip .gz .tgz
  409.  
  410.     #
  411.     # AddHandler allows you to map certain file extensions to "handlers":
  412.     # actions unrelated to filetype. These can be either built into the server
  413.     # or added with the Action directive (see below)
  414.     #
  415.     # To use CGI scripts outside of ScriptAliased directories:
  416.     # (You will also need to add "ExecCGI" to the "Options" directive.)
  417.     #
  418.     AddHandler cgi-script .cgi
  419.  
  420.     # For files that include their own HTTP headers:
  421.     #AddHandler send-as-is asis
  422.  
  423.     # For server-parsed imagemap files:
  424.     #AddHandler imap-file map
  425.  
  426.     # For type maps (negotiated resources):
  427.     #AddHandler type-map var
  428.  
  429.     #
  430.     # Filters allow you to process content before it is sent to the client.
  431.     #
  432.     # To parse .shtml files for server-side includes (SSI):
  433.     # (You will also need to add "Includes" to the "Options" directive.)
  434.     #
  435.     AddType text/html .shtml
  436.     AddOutputFilter INCLUDES .shtml
  437. </IfModule>
  438.  
  439. #
  440. # The mod_mime_magic module allows the server to use various hints from the
  441. # contents of the file itself to determine its type.  The MIMEMagicFile
  442. # directive tells the module where the hint definitions are located.
  443. #
  444. #MIMEMagicFile conf/magic
  445.  
  446. #
  447. # Customizable error responses come in three flavors:
  448. # 1) plain text 2) local redirects 3) external redirects
  449. #
  450. # Some examples:
  451. #ErrorDocument 500 "The server made a boo boo."
  452. #ErrorDocument 404 /missing.html
  453. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  454. #ErrorDocument 402 http://www.example.com/subscription_info.html
  455. #
  456.  
  457. #
  458. # EnableMMAP and EnableSendfile: On systems that support it, 
  459. # memory-mapping or the sendfile syscall is used to deliver
  460. # files.  This usually improves server performance, but must
  461. # be turned off when serving from networked-mounted 
  462. # filesystems or if support for these functions is otherwise
  463. # broken on your system.
  464. #
  465. EnableMMAP off
  466. EnableSendfile off
  467.  
  468. # Supplemental configuration
  469. #
  470. # The configuration files in the conf/extra/ directory can be 
  471. # included to add extra features or to modify the default configuration of 
  472. # the server, or you may simply copy their contents here and change as 
  473. # necessary.
  474.  
  475. # xampplite specific settings
  476. Include conf/extra/httpd-xampp.conf
  477.  
  478. # Server-pool management (MPM specific)
  479. # Include conf/extra/httpd-mpm.conf
  480.  
  481. # Multi-language error messages
  482. Include conf/extra/httpd-multilang-errordoc.conf
  483.  
  484. # Fancy directory listings
  485. Include conf/extra/httpd-autoindex.conf
  486.  
  487. # Language settings
  488. Include conf/extra/httpd-languages.conf
  489.  
  490. # User home directories
  491. Include conf/extra/httpd-userdir.conf
  492.  
  493. # Real-time info on requests and configuration
  494. Include conf/extra/httpd-info.conf
  495.  
  496. # Virtual hosts
  497. Include conf/extra/httpd-vhosts.conf
  498.  
  499. # Local access to the Apache HTTP Server Manual
  500. # Include conf/extra/httpd-manual.conf
  501.  
  502. # Distributed authoring and versioning (WebDAV)
  503. Include conf/extra/httpd-dav.conf
  504.  
  505. # Various default settings
  506. Include conf/extra/httpd-default.conf
  507.  
  508. # Secure (SSL/TLS) connections
  509. Include conf/extra/httpd-ssl.conf
  510. #
  511. # Note: The following must must be present to support
  512. #       starting without SSL on platforms with no /dev/random equivalent
  513. #       but a statically compiled-in mod_ssl.
  514. #
  515. <IfModule ssl_module>
  516. SSLRandomSeed startup builtin
  517. SSLRandomSeed connect builtin
  518. </IfModule>
  519.